#{extends '/template/templateAdmin.html' /} 
	<h1>Lista de Tags</h1>
	<table border="1">
		<tr>
			<th>Nome</th>
		</tr>
		#{list items: listaTags, as: 'tag'}
		<tr>
			<td>${tag.nome}</td>
			<td>
				<form action="@{Tags.editarTag()}" method="post">
					<input type="hidden" value="${tag.id}" name="id"/>
					<input type="submit" value="Editar" />
				</form>
			</td>
			<td>
				<form action="@{Tags.excluirTag()}" method="post">
					<input type="hidden" value="${tag.id}" name="_id"/>
					<input type="button" value="Excluir" onclick="confirmar(this.form)"/>
				</form>
			</td>
		</tr>
		
		#{/list}
		
	</table>
	<a href="/menuAdministracao" >
		<input type="button" value="Voltar ao Menu" />
	</a>